/*
 * $Id: rgs.h,v 1.2 2006/02/16 07:14:39 bacon Exp $
 *
   Copyright 2005-2009 Chung, Hyung-Hwan.

   Licensed under the Apache License, Version 2.0 (the "License");
   you may not use this file except in compliance with the License.
   You may obtain a copy of the License at

       http://www.apache.org/licenses/LICENSE-2.0

   Unless required by applicable law or agreed to in writing, software
   distributed under the License is distributed on an  BASIS,
   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   See the License for the specific language governing permissions and
   limitations under the License.
 */

#ifndef _XP_MSW_RGS_H_
#define _XP_MSW_RGS_H_

#include <xp/types.h>
#include <xp/macros.h>

typedef struct xp_rgs_t xp_rgs_t;
typedef struct xp_rgsval_t xp_rgsval_t;

struct xp_rgs_t
{
	xp_bool_t __dynamic;
};

struct xp_rgsval_t
{
	int       type;
	void*     data;
	xp_size_t size;
};

#ifdef __cplusplus
extern "C" {
#endif

xp_rgs_t* xp_rgs_open (xp_rgs_t* rgs);
int xp_rgs_close (xp_rgs_t* rgs);

#ifdef __cplusplus
}
#endif

#endif
